-- GENERATED SPELL FOR [Zul'arek Hatefowler] --


function spell0_8219(pUnit, Event) --@Shadow Bolt Volley,n/a--
pUnit:FullCastSpellOnTarget(17228,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8219', 638, 1)
end

function Sorts_8219(pUnit, Event)
local choix_sorts_8219 = math.random(0, 0)
if choix_sorts_8219 == 0 then
pUnit:RegisterEvent('spell0_8219', 1, 1)
end
end

function mob8219_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8219', math.random(1500, 3000), 1)
end

function mob8219_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8219_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8219_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8219, 1, 'mob8219_Action')
RegisterUnitEvent(8219, 2, 'mob8219_Leave')
RegisterUnitEvent(8219, 3, 'mob8219_Kill')
RegisterUnitEvent(8219, 4, 'mob8219_Die')
